import request from "@/utils/request";
export const login = data => request.post('/auth/login', data)
export const getUser = () => request.get('/auth/currentUser')